home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / LGP250S2.ZIP / src / libgplus.5 / makefile.in next >
Makefile  |  1993-10-26  |  31KB  |  1,100 lines

  1. #
  2. # Makefile for directory with subdirs to build.
  3. #   Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation
  4. #
  5. # This file is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  16. #
  17.  
  18. srcdir = .
  19.  
  20. prefix = /usr/local
  21.  
  22. exec_prefix = $(prefix)
  23. bindir = $(exec_prefix)/bin
  24. libdir = $(exec_prefix)/lib
  25. tooldir = $(exec_prefix)/$(target)
  26.  
  27. program_transform_name =
  28.  
  29. datadir = $(prefix)/lib
  30. mandir = $(prefix)/man
  31. man1dir = $(mandir)/man1
  32. man2dir = $(mandir)/man2
  33. man3dir = $(mandir)/man3
  34. man4dir = $(mandir)/man4
  35. man5dir = $(mandir)/man5
  36. man6dir = $(mandir)/man6
  37. man7dir = $(mandir)/man7
  38. man8dir = $(mandir)/man8
  39. man9dir = $(mandir)/man9
  40. infodir = $(prefix)/info
  41. includedir = $(prefix)/include
  42. docdir = $(datadir)/doc
  43.  
  44. SHELL = /bin/sh
  45.  
  46. INSTALL = $${srcroot}/install.sh -c
  47. INSTALL_PROGRAM = $(INSTALL)
  48. INSTALL_DATA = $(INSTALL)
  49. INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
  50.  
  51. AS = as
  52. AR = ar
  53. AR_FLAGS = rc
  54. CC = cc
  55. CFLAGS = -g
  56. CXX = gcc
  57. CXXFLAGS = -g
  58. RANLIB = ranlib
  59. NM = nm
  60. MUNCH_NM = $(NM)
  61. GZIP = gzip
  62.  
  63. BISON = bison -y
  64. LEX = `if [ -f $${rootme}/flex/flex ] ; \
  65.     then echo $${rootme}/flex/flex ; \
  66.     else echo flex ; fi`
  67.  
  68. M4 = `if [ -f $${rootme}/m4/m4 ] ; \
  69.     then echo $${rootme}/m4/m4 ; \
  70.     else echo m4 ; fi`
  71.  
  72. MAKEINFO = `if [ -f $${rootme}/texinfo/makeinfo/makeinfo ] ; \
  73.     then echo $${rootme}/texinfo/makeinfo/makeinfo ; \
  74.     else echo makeinfo ; fi`
  75. # This just becomes part of the MAKEINFO definition passed down to
  76. # sub-makes.  It lets flags be given on the command line while still
  77. # using the makeinfo from the object tree.
  78. MAKEINFOFLAGS =
  79.  
  80. EXPECT = `if [ -f $${rootme}/expect/expect ] ; \
  81.     then echo $${rootme}/expect/expect ; \
  82.     else echo expect ; fi`
  83.  
  84. RUNTEST = `if [ -f $${srcroot}/dejagnu/runtest ] ; \
  85.     then echo $${srcroot}/dejagnu/runtest ; \
  86.     else echo runtest ; fi`
  87.  
  88.  
  89. # libraries that may need to be augmented on a system-by-system basis
  90. X11_LIB = -lX11
  91.  
  92. # compilers to use to create programs which must be run in the build
  93. # environment.
  94. CC_FOR_BUILD = $(CC)
  95. CXX_FOR_BUILD = $(CXX)
  96.  
  97. SUBDIRS = "this is set via configure, don't edit this"
  98. OTHERS = 
  99.  
  100. ALL = all.normal
  101. INSTALL_TARGET = install-dirs \
  102.     $(INSTALL_MODULES) \
  103.     $(INSTALL_TARGET_MODULES) \
  104.     $(INSTALL_X11_MODULES) \
  105.     install-gcc
  106.  
  107. CC_FOR_TARGET = ` \
  108.   if [ -f $${rootme}/gcc/Makefile ] ; then \
  109.     echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \
  110.   else \
  111.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  112.       echo $(CC); \
  113.     else \
  114.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  115.     fi; \
  116.   fi`
  117.  
  118.  
  119. CXX_FOR_TARGET = ` \
  120.   if [ -f $${rootme}/gcc/Makefile ] ; then \
  121.     echo $${rootme}/gcc/xgcc -B$${rootme}/gcc/; \
  122.   else \
  123.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  124.       echo $(CXX); \
  125.     else \
  126.       t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
  127.     fi; \
  128.   fi`
  129.  
  130. AS_FOR_TARGET = ` \
  131.   if [ -f $${rootme}/gas/Makefile ] ; then \
  132.     echo $${rootme}/gas/as.new ; \
  133.   else \
  134.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  135.       echo $(AS); \
  136.     else \
  137.        t='$(program_transform_name)'; echo as | sed -e '' $$t ; \
  138.     fi; \
  139.   fi`
  140.  
  141. AR_FOR_TARGET = ` \
  142.   if [ -f $${rootme}/binutils/ar ] ; then \
  143.     echo $${rootme}/binutils/ar ; \
  144.   else \
  145.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  146.       echo $(AR); \
  147.     else \
  148.        t='$(program_transform_name)'; echo ar | sed -e '' $$t ; \
  149.     fi; \
  150.   fi`
  151.  
  152. RANLIB_FOR_TARGET = ` \
  153.   if [ -f $${rootme}/binutils/ranlib ] ; then \
  154.     echo $${rootme}/binutils/ranlib ; \
  155.   else \
  156.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  157.       echo $(RANLIB); \
  158.     else \
  159.        t='$(program_transform_name)'; echo ranlib | sed -e '' $$t ; \
  160.     fi; \
  161.   fi`
  162.  
  163. NM_FOR_TARGET = ` \
  164.   if [ -f $${rootme}/binutils/Makefile ] ; then \
  165.     echo $${rootme}/binutils/nm ; \
  166.   else \
  167.     if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
  168.       echo $(NM); \
  169.     else \
  170.        t='$(program_transform_name)'; echo nm | sed -e '' $$t ; \
  171.     fi; \
  172.   fi`
  173.  
  174. # FIXME: This is badly named.
  175. XTRAFLAGS = ` \
  176.   if [ -f $${rootme}/gcc/Makefile ] ; then \
  177.     if [ -f $${rootme}/newlib/Makefile ] ; then \
  178.       echo -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -I$${rootme}/gcc/include -nostdinc ; \
  179.     else \
  180.       echo -I$${rootme}/gcc/include ; \
  181.     fi ; \
  182.   else \
  183.      echo ; \
  184.   fi`
  185.  
  186. #### host and target specific makefile fragments come in here.
  187. ###
  188.  
  189. # Flags to pass down to all sub-makes.
  190. # Please keep these in alphabetical order.
  191. BASE_FLAGS_TO_PASS = \
  192.     "AR_FLAGS=$(AR_FLAGS)" \
  193.     "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
  194.     "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
  195.     "BISON=$(BISON)" \
  196.     "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  197.     "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  198.     "CFLAGS=$(CFLAGS)" \
  199.     "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
  200.     "CXXFLAGS=$(CXXFLAGS)" \
  201.     "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
  202.     "GCC_FOR_TARGET=$(CC_FOR_TARGET)" \
  203.     "INSTALL=$(INSTALL)" \
  204.     "INSTALL_DATA=$(INSTALL_DATA)" \
  205.     "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  206.     "INSTALL_XFORM=$(INSTALL_XFORM)" \
  207.     "LDFLAGS=$(LDFLAGS)" \
  208.     "LEX=$(LEX)" \
  209.     "M4=$(M4)" \
  210.     "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
  211.     "MUNCH_NM=$(MUNCH_NM)" \
  212.     "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
  213.     "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
  214.     "EXPECT=$(EXPECT)" \
  215.     "RUNTEST=$(RUNTEST)" \
  216.     "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  217.     "XTRAFLAGS_FOR_TARGET=$(XTRAFLAGS)" \
  218.     "exec_prefix=$(exec_prefix)" \
  219.     "prefix=$(prefix)" \
  220.     "tooldir=$(tooldir)" 
  221.  
  222. # Flags to pass down to most sub-makes, in which we're building with
  223. # the host environment.
  224. # If any variables are added here, they must be added to do-*, below.
  225. EXTRA_HOST_FLAGS = \
  226.     'AR=$(AR)' \
  227.     'AS=$(AS)' \
  228.     'CC=$(CC)' \
  229.     'CXX=$(CXX)' \
  230.     'NM=$(NM)' \
  231.     'RANLIB=$(RANLIB)' \
  232.     'XTRAFLAGS='
  233.  
  234. FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
  235.  
  236. # Flags that are concerned with the location of the X11 include files
  237. # and library files
  238. X11_FLAGS_TO_PASS = \
  239.     "X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
  240.     "X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \
  241.     "X11_LIB=$(X11_LIB)"
  242.  
  243. # Flags to pass down to makes which are built with the target environment.
  244. # The double $ decreases the length of the command line; the variables
  245. # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
  246. # If any variables are added here, they must be added to do-*, below.
  247. EXTRA_TARGET_FLAGS = \
  248.     'AR=$$(AR_FOR_TARGET)' \
  249.     'AS=$$(AS_FOR_TARGET)' \
  250.     'CC=$$(CC_FOR_TARGET)' \
  251.     'CXX=$$(CXX_FOR_TARGET)' \
  252.     'NM=$$(NM_FOR_TARGET)' \
  253.     'RANLIB=$$(RANLIB_FOR_TARGET)' \
  254.     'XTRAFLAGS=$$(XTRAFLAGS_FOR_TARGET)'
  255.  
  256. TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
  257.  
  258. # Flags to pass down to gcc.  gcc builds a library, libgcc.a, so it
  259. # unfortunately needs the native compiler and the target ar and
  260. # ranlib.
  261. # If any variables are added here, they must be added to do-*, below.
  262. # The HOST_* variables are a special case, which are used for the gcc
  263. # cross-building scheme.
  264. HOST_CC = $(CC_FOR_BUILD)
  265. HOST_PREFIX = 
  266. HOST_PREFIX_1 = loser-
  267. EXTRA_GCC_FLAGS = \
  268.     'AR=$$(AR_FOR_TARGET)' \
  269.     'AS=$(AS)' \
  270.     'CC=$(CC)' \
  271.     'CXX=$(CXX)' \
  272.     'HOST_CC=$(CC_FOR_BUILD)' \
  273.     'HOST_PREFIX=$(HOST_PREFIX)' \
  274.     'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
  275.     'NM=$(NM)' \
  276.     'RANLIB=$$(RANLIB_FOR_TARGET)' \
  277.     'XTRAFLAGS='
  278.  
  279. GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
  280.  
  281. # This is a list of the targets for all of the modules which are compiled
  282. # using $(FLAGS_TO_PASS).
  283. ALL_MODULES = \
  284.     all-autoconf \
  285.     all-bfd \
  286.     all-binutils \
  287.     all-byacc \
  288.     all-cvs \
  289.     all-dejagnu \
  290.     all-diff \
  291.     all-dosutils \
  292.     all-etc \
  293.     all-fileutils \
  294.     all-find \
  295.     all-flex \
  296.     all-gas \
  297.     all-gawk \
  298.     all-gdb \
  299.     all-gprof \
  300.     all-grep \
  301.     all-gzip \
  302.     all-hello \
  303.     all-indent \
  304.     all-ispell \
  305.     all-ld \
  306.     all-libiberty \
  307.     all-m4 \
  308.     all-make \
  309.     all-mmalloc \
  310.     all-opcodes \
  311.     all-pagas \
  312.     all-patch \
  313.     all-prms \
  314.     all-rcs \
  315.     all-readline \
  316.     all-release \
  317.     all-recode \
  318.     all-sed \
  319.     all-send-pr \
  320.     all-shellutils \
  321.     all-sim \
  322.     all-tar \
  323.     all-tcl \
  324.     all-texinfo \
  325.     all-textutils \
  326.     all-tgas \
  327.     all-time \
  328.     all-uudecode \
  329.     all-wdiff
  330.  
  331. # This is a list of the check targets for all of the modules which are
  332. # compiled using $(FLAGS_TO_PASS).
  333. CHECK_MODULES = \
  334.     check-autoconf \
  335.     check-bfd \
  336.     check-binutils \
  337.     check-byacc \
  338.     check-cvs \
  339.     check-dejagnu \
  340.     check-diff \
  341.     check-etc \
  342.     check-fileutils \
  343.     check-find \
  344.     check-flex \
  345.     check-gas \
  346.     check-gawk \
  347.     check-gdb \
  348.     check-gprof \
  349.     check-grep \
  350.     check-gzip \
  351.     check-hello \
  352.     check-indent \
  353.     check-ispell \
  354.     check-ld \
  355.     check-libiberty \
  356.     check-m4 \
  357.     check-make \
  358.     check-mmcheckoc \
  359.     check-opcodes \
  360.     check-pagas \
  361.     check-patch \
  362.     check-prms \
  363.     check-rcs \
  364.     check-readline \
  365.     check-recode \
  366.     check-sed \
  367.     check-send-pr \
  368.     check-shellutils \
  369.     check-sim \
  370.     check-tar \
  371.     check-tcl \
  372.     check-texinfo \
  373.     check-textutils \
  374.     check-tgas \
  375.     check-time \
  376.     check-uudecode \
  377.     check-wdiff
  378.  
  379. # This is a list of the install targets for all of the modules which are
  380. # compiled using $(FLAGS_TO_PASS).
  381. INSTALL_MODULES = \
  382.     install-autoconf \
  383.     install-bfd \
  384.     install-binutils \
  385.     install-byacc \
  386.     install-cvs \
  387.     install-dejagnu \
  388.     install-diff \
  389.     install-etc \
  390.     install-fileutils \
  391.     install-find \
  392.     install-flex \
  393.     install-gas \
  394.     install-gawk \
  395.     install-gdb \
  396.     install-glob \
  397.     install-gprof \
  398.     install-grep \
  399.     install-gzip \
  400.     install-hello \
  401.     install-indent \
  402.     install-ispell \
  403.     install-ld \
  404.     install-libiberty \
  405.     install-m4 \
  406.     install-make \
  407.     install-mmalloc \
  408.     install-opcodes \
  409.     install-pagas \
  410.     install-patch \
  411.     install-prms \
  412.     install-rcs \
  413.     install-readline \
  414.     install-recode \
  415.     install-sed \
  416.     install-send-pr \
  417.     install-shellutils \
  418.     install-sim \
  419.     install-tar \
  420.     install-tcl \
  421.     install-textutils \
  422.     install-tgas \
  423.     install-time \
  424.     install-uudecode \
  425.     install-wdiff
  426.  
  427. # This is a list of the targets for all of the modules which are compiled
  428. # using $(X11_FLAGS_TO_PASS).
  429. ALL_X11_MODULES = \
  430.     all-emacs \
  431.     all-expect \
  432.     all-gash \
  433.     all-tclX \
  434.     all-tk
  435.  
  436. # This is a list of the check targets for all of the modules which are
  437. # compiled using $(X11_FLAGS_TO_PASS).
  438. CHECK_X11_MODULES = \
  439.     check-emacs \
  440.     check-expect \
  441.     check-gash \
  442.     check-tclX \
  443.     check-tk
  444.  
  445. # This is a list of the install targets for all the modules which are
  446. # compiled using $(X11_FLAGS_TO_PASS).
  447. INSTALL_X11_MODULES = \
  448.     install-emacs \
  449.     install-expect \
  450.     install-gash \
  451.     install-tclX \
  452.     install-tk
  453.  
  454. # This is a list of the targets for all of the modules which are compiled
  455. # using $(TARGET_FLAGS_TO_PASS).
  456. ALL_TARGET_MODULES = \
  457.     all-libio \
  458.     all-libg++ \
  459.     all-newlib \
  460.     all-xiberty
  461.  
  462. # This is a list of the check targets for all of the modules which are
  463. # compiled using $(TARGET_FLAGS_TO_PASS).
  464. CHECK_TARGET_MODULES = \
  465.     check-libio \
  466.     check-libg++ \
  467.     check-newlib \
  468.     check-xiberty
  469.  
  470. # This is a list of the install targets for all of the modules which are
  471. # compiled using $(TARGET_FLAGS_TO_PASS).
  472. INSTALL_TARGET_MODULES = \
  473.     install-libio \
  474.     install-libg++ \
  475.     install-newlib \
  476.     install-xiberty
  477.  
  478. # This is a shell case of all modules which are compiled using
  479. # $(TARGET_FLAGS_TO_PASS), used in the do-X rule.
  480. TARGET_LIBS = libio | libg++ | newlib | xiberty
  481.  
  482. # The first rule in the file had better be this one.  Don't put any above it.
  483. all: all.normal
  484. .PHONY: all
  485.  
  486. # The target built for a native build.
  487. .PHONY: all.normal
  488. all.normal: \
  489.     $(ALL_MODULES) \
  490.     $(ALL_TARGET_MODULES) \
  491.     $(ALL_X11_MODULES) \
  492.     all-gcc
  493.  
  494. # Do a target for all the subdirectories.  A ``make do-X'' will do a
  495. # ``make X'' in all subdirectories (because, in general, there is a
  496. # dependency (below) of X upon do-X, a ``make X'' will also do this,
  497. # but it may do additional work as well).
  498. # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
  499. # because it is so large that it can easily overflow the command line
  500. # length limit on some systems.
  501. DO_X = \
  502.     do-clean \
  503.     do-distclean \
  504.     do-dvi \
  505.     do-info \
  506.     do-install-info \
  507.     do-installcheck \
  508.     do-mostlyclean \
  509.     do-realclean
  510. .PHONY: $(DO_X)
  511. $(DO_X):
  512.     @target=`echo $@ | sed -e 's/^do-//'`; \
  513.     rootme=`pwd`; export rootme; \
  514.     srcroot=`cd $(srcdir); pwd`; export srcroot; \
  515.     for i in $(SUBDIRS); do \
  516.       if [ -f ./$$i/Makefile ]; then \
  517.         case $$i in \
  518.         $(TARGET_LIBS) ) \
  519.           for flag in $(EXTRA_TARGET_FLAGS); do \
  520.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  521.           done; \
  522.           ;; \
  523.         gcc) \
  524.           for flag in $(EXTRA_GCC_FLAGS); do \
  525.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  526.           done; \
  527.           ;; \
  528.         *) \
  529.           for flag in $(EXTRA_HOST_FLAGS); do \
  530.         eval `echo "$$flag" | sed -e "s|^\(.*\)=\(.*\)|\1='\2'|"`; \
  531.           done; \
  532.           ;; \
  533.         esac ; \
  534.         export AR AS CC CXX NM RANLIB XTRAFLAGS; \
  535.         if (cd ./$$i; \
  536.             $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  537.             "CC=$${CC}" "CXX=$${CXX}" "NM=$${NM}" \
  538.             "RANLIB=$${RANLIB}" "XTRAFLAGS=$${XTRAFLAGS}" \
  539.             $${target}); \
  540.         then true; else exit 1; fi; \
  541.       else true; fi; \
  542.     done
  543.  
  544. # Here are the targets which correspond to the do-X targets.
  545.  
  546. .PHONY: info installcheck dvi install-info
  547. .PHONY: clean distclean mostlyclean realclean local-clean local-distclean
  548. info: do-info
  549. installcheck: do-installcheck
  550. dvi: do-dvi
  551.  
  552. install-info: do-install-info dir.info
  553.     srcroot=`cd $(srcdir); pwd`; export srcroot; \
  554.     if [ -f dir.info ] ; then \
  555.       $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
  556.     else true ; fi
  557.  
  558. local-clean:
  559.     -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
  560.  
  561. local-distclean:
  562.     -rm -f Makefile config.status
  563.  
  564. clean: do-clean local-clean
  565. mostlyclean: do-mostlyclean local-clean
  566. distclean: do-distclean local-clean local-distclean
  567. realclean: do-realclean local-clean local-distclean
  568.  
  569. # Check target.
  570.  
  571. .PHONY: check
  572. check: $(CHECK_MODULES) \
  573.     $(CHECK_TARGET_MODULES) \
  574.     $(CHECK_X11_MODULES) \
  575.     check-gcc
  576.  
  577. # Installation targets.
  578.  
  579. .PHONY: install uninstall vault-install
  580. install: $(INSTALL_TARGET) 
  581.  
  582. uninstall:
  583.     @echo "the uninstall target is not supported in this tree"
  584.  
  585. vault-install:
  586.     @if [ -f ./release/vault-install ] ; then \
  587.       ./release/vault-install $(host_alias) $(target_alias) ; \
  588.     else \
  589.       true ; \
  590.     fi
  591.  
  592. .PHONY: install.all
  593. install.all: install-no-fixedincludes
  594.     @if [ -f ./gcc/Makefile ] ; then \
  595.         rootme=`pwd` ; export rootme ; \
  596.         (cd ./gcc; \
  597.         $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
  598.     else \
  599.         true ; \
  600.     fi
  601.  
  602. # install-no-fixedincludes is used because Cygnus can not distribute
  603. # the fixed header files.
  604. .PHONY: install-no-fixedincludes
  605. install-no-fixedincludes: \
  606.     install-dirs \
  607.     $(INSTALL_MODULES) \
  608.     $(INSTALL_TARGET_MODULES) \
  609.     $(INSTALL_X11_MODULES) \
  610.     gcc-no-fixedincludes 
  611.  
  612. # Install the gcc headers files, but not the fixed include files,
  613. # which Cygnus is not allowed to distribute.  This rule is very
  614. # dependent on the workings of the gcc Makefile.in.
  615. .PHONY: gcc-no-fixedincludes
  616. gcc-no-fixedincludes:
  617.     @if [ -f ./gcc/Makefile ]; then \
  618.       rm -rf gcc/tmp-include; \
  619.       mv gcc/include gcc/tmp-include 2>/dev/null; \
  620.       mkdir gcc/include; \
  621.       cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
  622.       touch gcc/stmp-fixinc gcc/stmp-fixproto; \
  623.       rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
  624.       rootme=`pwd`; export rootme; \
  625.       srcroot=`cd $(srcdir); pwd` ; export srcroot; \
  626.       (cd ./gcc; \
  627.        $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
  628.       rm -rf gcc/include; \
  629.       mv gcc/tmp-include gcc/include 2>/dev/null; \
  630.     else true; fi
  631.  
  632. # This rule is used to build the modules which use FLAGS_TO_PASS.  To
  633. # build a target all-X means to cd to X and make all.
  634. # all-glob is handled specially because it doesn't actually build.
  635. .PHONY: $(ALL_MODULES) all-glob
  636. $(ALL_MODULES) all-glob:
  637.     @dir=`echo $@ | sed -e 's/all-//'`; \
  638.     if [ -f ./$${dir}/Makefile ] ; then \
  639.       rootme=`pwd`; export rootme; \
  640.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  641.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
  642.     else \
  643.       true; \
  644.     fi
  645.  
  646. # This rule is used to check the modules which use FLAGS_TO_PASS.  To
  647. # build a target check-X means to cd to X and make all.
  648. .PHONY: $(CHECK_MODULES) 
  649. $(CHECK_MODULES):
  650.     @dir=`echo $@ | sed -e 's/check-//'`; \
  651.     if [ -f ./$${dir}/Makefile ] ; then \
  652.       rootme=`pwd`; export rootme; \
  653.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  654.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \
  655.     else \
  656.       true; \
  657.     fi
  658.  
  659. # This rule is used to install the modules which use FLAGS_TO_PASS.
  660. # To build a target install-X means to cd to X and make install.
  661. .PHONY: $(INSTALL_MODULES)
  662. $(INSTALL_MODULES): install-dirs
  663.     @dir=`echo $@ | sed -e 's/install-//'`; \
  664.     if [ -f ./$${dir}/Makefile ] ; then \
  665.       rootme=`pwd`; export rootme; \
  666.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  667.       (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \
  668.     else \
  669.       true; \
  670.     fi
  671.  
  672. # This rule is used to build the modules which use TARGET_FLAGS_TO_PASS.
  673. # To build a target all-X means to cd to X and make all.
  674. .PHONY: $(ALL_TARGET_MODULES)
  675. $(ALL_TARGET_MODULES):
  676.     @dir=`echo $@ | sed -e 's/all-//'`; \
  677.     if [ -f ./$${dir}/Makefile ] ; then \
  678.       rootme=`pwd`; export rootme; \
  679.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  680.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) all); \
  681.     else \
  682.       true; \
  683.     fi
  684.  
  685. # This rule is used to check the modules which use TARGET_FLAGS_TO_PASS.
  686. # To build a target install-X means to cd to X and make install.
  687. .PHONY: $(CHECK_TARGET_MODULES)
  688. $(CHECK_TARGET_MODULES):
  689.     @dir=`echo $@ | sed -e 's/check-//'`; \
  690.     if [ -f ./$${dir}/Makefile ] ; then \
  691.       rootme=`pwd`; export rootme; \
  692.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  693.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) check); \
  694.     else \
  695.       true; \
  696.     fi
  697.  
  698. # This rule is used to install the modules which use
  699. # TARGET_FLAGS_TO_PASS.  To build a target install-X means to cd to X
  700. # and make install.
  701. .PHONY: $(INSTALL_TARGET_MODULES)
  702. $(INSTALL_TARGET_MODULES): install-dirs
  703.     @dir=`echo $@ | sed -e 's/install-//'`; \
  704.     if [ -f ./$${dir}/Makefile ] ; then \
  705.       rootme=`pwd`; export rootme; \
  706.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  707.       (cd $${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) install); \
  708.     else \
  709.       true; \
  710.     fi
  711.  
  712. # This rule is used to build the modules which use X11_FLAGS_TO_PASS.
  713. # To build a target all-X means to cd to X and make all.
  714. .PHONY: $(ALL_X11_MODULES)
  715. $(ALL_X11_MODULES):
  716.     @dir=`echo $@ | sed -e 's/all-//'`; \
  717.     if [ -f ./$${dir}/Makefile ] ; then \
  718.       rootme=`pwd`; export rootme; \
  719.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  720.       (cd $${dir}; \
  721.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \
  722.     else \
  723.       true; \
  724.     fi
  725.  
  726. # This rule is used to check the modules which use X11_FLAGS_TO_PASS.
  727. # To build a target check-X means to cd to X and make all.
  728. .PHONY: $(CHECK_X11_MODULES)
  729. $(CHECK_X11_MODULES):
  730.     @dir=`echo $@ | sed -e 's/check-//'`; \
  731.     if [ -f ./$${dir}/Makefile ] ; then \
  732.       rootme=`pwd`; export rootme; \
  733.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  734.       (cd $${dir}; \
  735.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \
  736.     else \
  737.       true; \
  738.     fi
  739.  
  740. # This rule is used to install the modules which use X11_FLAGS_TO_PASS.
  741. # To build a target install-X means to cd to X and make install.
  742. .PHONY: $(INSTALL_X11_MODULES)
  743. $(INSTALL_X11_MODULES):
  744.     @dir=`echo $@ | sed -e 's/install-//'`; \
  745.     if [ -f ./$${dir}/Makefile ] ; then \
  746.       rootme=`pwd`; export rootme; \
  747.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  748.       (cd $${dir}; \
  749.        $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \
  750.     else \
  751.       true; \
  752.     fi
  753.  
  754. # gcc is the only module which uses GCC_FLAGS_TO_PASS.
  755. .PHONY: all-gcc
  756. all-gcc:
  757.     @if [ -f ./gcc/Makefile ] ; then \
  758.       rootme=`pwd`; export rootme; \
  759.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  760.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
  761.     else \
  762.       true; \
  763.     fi
  764.  
  765. .PHONY: check-gcc
  766. check-gcc:
  767.     @if [ -f ./gcc/Makefile ] ; then \
  768.       rootme=`pwd`; export rootme; \
  769.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  770.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
  771.     else \
  772.       true; \
  773.     fi
  774.  
  775. .PHONY: install-gcc
  776. install-gcc:
  777.     @if [ -f ./gcc/Makefile ] ; then \
  778.       rootme=`pwd`; export rootme; \
  779.       srcroot=`cd $(srcdir); pwd`; export srcroot; \
  780.       (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
  781.     else \
  782.       true; \
  783.     fi
  784.  
  785. # This is a list of inter-dependencies among modules.
  786. all-autoconf: all-m4
  787. all-bfd:
  788. all-binutils: all-libiberty all-opcodes all-bfd all-flex
  789. all-byacc:
  790. all-cvs:
  791. all-dejagnu:
  792. all-diff: all-libiberty
  793. all-emacs:
  794. all-etc:
  795. all-expect: all-tcl all-tk
  796. all-fileutils: all-libiberty
  797. all-find:
  798. all-flex: all-libiberty all-byacc
  799. all-gas: all-libiberty all-opcodes all-bfd
  800. all-gash: all-tcl
  801. all-gawk:
  802. all-gcc: all-libiberty all-byacc all-binutils all-gas all-pagas
  803. all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-glob all-byacc all-sim
  804. all-glob:
  805. all-gprof: all-libiberty all-bfd
  806. all-grep: all-libiberty
  807. all-gzip: all-libiberty
  808. all-hello: all-libiberty
  809. all-indent:
  810. all-ispell: all-emacs
  811. all-ld: all-libiberty all-bfd all-byacc all-flex
  812. all-libg++: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib all-libio
  813. all-libio: all-gas all-pagas all-ld all-gcc all-xiberty all-newlib 
  814. all-libiberty:
  815. all-m4: all-libiberty
  816. all-make: all-libiberty
  817. all-mmalloc:
  818. all-newlib: all-binutils all-gas all-pagas all-gcc
  819. all-opcodes: all-bfd
  820. all-patch:
  821. all-prms: all-libiberty
  822. all-rcs:
  823. all-readline:
  824. all-recode: all-libiberty
  825. all-sed: all-libiberty
  826. all-send-pr: all-prms
  827. all-shellutils:
  828. all-sim: all-libiberty all-bfd
  829. all-tar: all-libiberty
  830. all-tcl:
  831. all-tclX: all-tcl all-tk
  832. all-tk: all-tcl
  833. all-texinfo: all-libiberty
  834. all-textutils:
  835. all-tgas: all-libiberty all-bfd
  836. all-time:
  837. all-wdiff:
  838. all-uudecode: all-libiberty
  839. all-xiberty: all-gcc all-newlib
  840.  
  841. ### other supporting targets
  842.  
  843. MAKEDIRS= \
  844.     $(prefix) \
  845.     $(exec_prefix) \
  846.     $(tooldir)
  847.  
  848. .PHONY: install-dirs
  849. install-dirs:
  850.     @for i in $(MAKEDIRS) ; do \
  851.         echo Making $$i... ; \
  852.         parent=`echo $$i | sed -e 's@/[^/]*$$@@' | sed -e 's@^$$@/@'`; \
  853.         if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi ; \
  854.         if [ ! -d $$i ] ; then \
  855.             if mkdir $$i ; then \
  856.                 true ; \
  857.             else \
  858.                 exit 1 ; \
  859.             fi ; \
  860.         else \
  861.             true ; \
  862.         fi ; \
  863.     done
  864.  
  865.  
  866. dir.info: do-install-info
  867.     if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
  868.       $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
  869.       mv -f dir.info.new dir.info ; \
  870.     else true ; \
  871.     fi
  872.  
  873. dist:
  874.     @echo "Building a full distribution of this tree isn't done"
  875.     @echo "via 'make dist'.  Check out the etc/ subdirectory" 
  876.  
  877. etags tags: TAGS
  878.  
  879. TAGS:
  880.     etags `$(MAKE) ls`
  881.  
  882. ls:
  883.     @echo Makefile
  884.     @for i in $(SUBDIRS); \
  885.     do \
  886.         (cd $$i; \
  887.             pwd=`pwd`; \
  888.             wd=`basename $$pwd`; \
  889.             for j in `$(MAKE) ls`; \
  890.             do \
  891.                 echo $$wd/$$j; \
  892.             done) \
  893.     done
  894.  
  895. # with the gnu make, this is done automatically.
  896.  
  897. Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
  898.     $(SHELL) ./config.status
  899.  
  900. #
  901. # Support for building net releases
  902.  
  903. # Files in devo used in any net release.
  904. # ChangeLog omitted because it may refer to files which are not in this
  905. # distribution (perhaps it would be better to include it anyway).
  906. DEVO_SUPPORT= README Makefile.in configure configure.in \
  907.     config.guess config.sub config move-if-change \
  908.     COPYING COPYING.LIB install.sh
  909.  
  910. # Files in devo/etc used in any net release.
  911. # ChangeLog omitted because it may refer to files which are not in this
  912. # distribution (perhaps it would be better to include it anyway).
  913. ETC_SUPPORT= Makefile.in cfg-paper.texi configure.in configure.man \
  914.     configure.texi standards.texi make-stds.texi
  915.  
  916. GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob sim
  917. GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS)
  918.  
  919. .PHONY: setup-dirs-gdb gdb.tar.gz make-gdb.tar.gz
  920. setup-dirs-gdb:
  921.     ./configure sun4
  922.     $(MAKE) clean
  923.     ./configure -rm sun4
  924.     chmod og=u `find etc $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
  925.  
  926. gdb.tar.gz: setup-dirs-gdb
  927.     (cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir BISON="byacc")
  928.     (cd gdb; $(MAKE) -f Makefile.in make-proto-testsuite.dir)
  929.     $(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.gz
  930.  
  931. make-gdb.tar.gz: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/texinfo.tex
  932.     rm -rf proto-toplev; mkdir proto-toplev
  933.     ln -s ../gdb/proto-gdb.dir proto-toplev/gdb
  934.     (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \
  935.         ln -s ../$$i . ; \
  936.     done)
  937.     mkdir proto-toplev/etc
  938.     (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
  939.         ln -s ../../etc/$$i . ; \
  940.     done)
  941.     # Put only one copy (four hard links) of COPYING in the tar file.
  942.     rm                          proto-toplev/bfd/COPYING
  943.     ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING
  944.     rm                          proto-toplev/include/COPYING
  945.     ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING
  946.     rm                          proto-toplev/readline/COPYING
  947.     ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING
  948.  
  949.     # Change the bug reporting address in configure to bug-gdb
  950.     rm proto-toplev/configure
  951.     sed -e 's/configure@cygnus.com/bug-gdb@prep.ai.mit.edu/' \
  952.         <configure >proto-toplev/configure
  953.     chmod a+x proto-toplev/configure
  954.  
  955.     # Take out texinfo and glob from configurable dirs
  956.     rm proto-toplev/configure.in
  957.     sed -e '/^host_tools=/s/texinfo //' \
  958.         -e '/^host_libs=/s/glob //' \
  959.         <configure.in >proto-toplev/configure.in
  960.  
  961.     # Take out texinfo from a few places; make simple BISON=bison line.
  962.     rm proto-toplev/Makefile.in
  963.     sed -e '/^all\.normal: /s/\all-texinfo //' \
  964.         -e '/^    install-texinfo /d' \
  965.         -e '/^BISON = /,/^$$/d' \
  966.         -e '/^# BISON:/s/.*/BISON = bison -y/' \
  967.     <Makefile.in >proto-toplev/Makefile.in
  968.  
  969.     mkdir proto-toplev/texinfo
  970.     ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
  971.     ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
  972.     ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
  973.     chmod og=u `find proto-toplev -print`
  974.     (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
  975.         echo "==> Making gdb-$$VER.tar.gz"; \
  976.         rm -f gdb-$$VER; ln -s proto-toplev gdb-$$VER; \
  977.         tar cfh - gdb-$$VER \
  978.         | $(GZIP) -v -9 >gdb-$$VER.tar.gz)
  979.  
  980.     # Make the testsuite archive separately.
  981.     ln -s ../../gdb/proto-testsuite.dir/testsuite proto-toplev/gdb/testsuite
  982.     # Blow away the Chill test that requires a Chill compiled executable,
  983.     # since GNU Chill is not yet publically available.
  984.     rm -rf proto-toplev/gdb/testsuite/gdb.t31
  985.  
  986.     # Put a copy of COPYING in the tar file.
  987.     ln proto-toplev/gdb/COPYING proto-toplev/gdb/testsuite/COPYING
  988.     chmod og=u `find proto-toplev/gdb/testsuite -print`
  989.     (VER=`sed <gdb/Makefile.in -n 's/VERSION = //p'`; \
  990.         echo "==> Making gdb-$$VER-testsuite.tar.gz"; \
  991.         tar cfh - gdb-$$VER/configure gdb-$$VER/config.guess \
  992.             gdb-$$VER/config.sub gdb-$$VER/move-if-change \
  993.             gdb-$$VER/gdb/testsuite \
  994.             | $(GZIP) -v -9 >gdb-$$VER-testsuite.tar.gz)
  995.  
  996. # When you use `make setup-dirs' or `make taz' you should always redefine
  997. # this macro.
  998. SUPPORT_FILES = list-of-support-files-for-tool-in-question
  999. # Directories that might want `make diststuff' run.
  1000. DISTSTUFFDIRS= ld gprof gdb libg++ binutils
  1001. # Files where "byacc" (Cygnus version) should be changed to "bison -y" (FSF).
  1002. DISTBISONFILES= binutils/Makefile.in gas/Makefile.in gdb/Makefile.in
  1003.  
  1004. .PHONY: taz
  1005.  
  1006. taz: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex texinfo/gpl.texinfo
  1007.     # Do this first so "diststuff" files get built properly.
  1008.     for f in $(DISTBISONFILES) ; do \
  1009.       if [ -r $$f ]; then \
  1010.         sed '/^BISON *=.*$$/s/.*/BISON = bison -y/' <$$f >tmp ; \
  1011.         mv -f tmp $$f ; \
  1012.       else true; fi ; \
  1013.     done
  1014.     #
  1015.     ./configure sun4
  1016.     # Make links, and run "make diststuff" when needed.
  1017.     # The `echo' for setting `p' is to convert all whitespace to spaces.
  1018.     # Then the `case' further below should tell whether $$d is in
  1019.     # DISTSTUFFDIRS.
  1020.     rm -rf proto-toplev ; mkdir proto-toplev
  1021.     set -e ; dirs="$(TOOL) $(DEVO_SUPPORT) $(SUPPORT_FILES)" ; \
  1022.     p=" `echo $(DISTSTUFFDIRS)` " ; \
  1023.     for d in $$dirs ; do \
  1024.       if [ -d $$d ]; then \
  1025.         case " $$p " in \
  1026.         *" $$d "*)    \
  1027.         echo making diststuff in $$d ; \
  1028.         (cd $$d ; pwd ; $(MAKE) diststuff BISON="bison -y") || exit 1  ;; \
  1029.         esac ; \
  1030.         if [ -d $$d/proto-$$d.dir ]; then \
  1031.           ln -s ../$$d/proto-$$d.dir proto-toplev/$$d ; \
  1032.         else \
  1033.           ln -s ../$$d proto-toplev/$$d ; \
  1034.         fi ; \
  1035.       else ln -s ../$$d proto-toplev/$$d ; fi ; \
  1036.     done
  1037.     $(MAKE) distclean
  1038.     #
  1039.     mkdir proto-toplev/etc
  1040.     (cd proto-toplev/etc; for i in $(ETC_SUPPORT); do \
  1041.         ln -s ../../etc/$$i . ; \
  1042.     done)
  1043.     #
  1044.     # Take out texinfo and glob from configurable dirs
  1045.     rm proto-toplev/configure.in
  1046.     sed -e '/^host_tools=/s/texinfo //' \
  1047.         -e '/^host_libs=/s/glob //' \
  1048.         <configure.in >proto-toplev/configure.in
  1049.     #
  1050.     # Take out texinfo from a few places; make simple BISON=bison line.
  1051.     rm proto-toplev/Makefile.in
  1052.     sed -e '/^all\.normal: /s/\all-texinfo //' \
  1053.         -e '/^    install-texinfo /d' \
  1054.         -e '/^BISON = /,/^$$/d' \
  1055.         -e '/^# BISON:/s/.*/BISON = bison -y/' \
  1056.     <Makefile.in >proto-toplev/Makefile.in
  1057.     #
  1058.     mkdir proto-toplev/texinfo
  1059.     ln -s ../../texinfo/texinfo.tex proto-toplev/texinfo/
  1060.     ln -s ../../texinfo/gpl.texinfo proto-toplev/texinfo/
  1061.     ln -s ../../texinfo/tex3patch   proto-toplev/texinfo/
  1062.     chmod og=u `find . -print`
  1063.     (VER=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
  1064.         echo "==> Making $(TOOL)-$$VER.tar.gz"; \
  1065.         rm -f $(TOOL)-$$VER; ln -s proto-toplev $(TOOL)-$$VER; \
  1066.         tar cfh - $(TOOL)-$$VER \
  1067.         | $(GZIP) -v -9 >$(TOOL)-$$VER.tar.gz)
  1068.  
  1069. TEXINFO_SUPPORT= texinfo/texinfo.tex texinfo/gpl.texinfo
  1070. DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT)
  1071.  
  1072. .PHONY: gas.tar.gz
  1073. GAS_SUPPORT_DIRS= bfd include libiberty opcodes
  1074. gas.tar.gz: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas
  1075.     $(MAKE) -f Makefile.in taz SUPPORT_FILES="$(GAS_SUPPORT_DIRS)" TOOL=gas
  1076.  
  1077. # The FSF "binutils" release includes gprof and ld.
  1078. .PHONY: binutils.tar.gz
  1079. BINUTILS_SUPPORT_DIRS= bfd include libiberty opcodes ld gprof
  1080. binutils.tar.gz: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils
  1081.     $(MAKE) -f Makefile.in taz SUPPORT_FILES="$(BINUTILS_SUPPORT_DIRS)" TOOL=binutils
  1082.  
  1083. .PHONY: gas+binutils.tar.gz
  1084. GASB_SUPPORT_DIRS= $(GAS_SUPPORT_DIRS) binutils ld gprof
  1085. gas+binutils.tar.gz: $(DIST_SUPPORT) $(GASB_SUPPORT_DIRS) gas
  1086.     $(MAKE) -f Makefile.in taz SUPPORT_FILES="$(GASB_SUPPORT_DIRS)" TOOL=gas
  1087.  
  1088. .PHONY: libg++.tar.gz
  1089. LIBGXX_SUPPORT_DIRS=include libio libiberty xiberty
  1090. libg++.tar.gz: $(DIST_SUPPORT) libg++
  1091.     $(MAKE) -f Makefile.in taz SUPPORT_FILES="$(LIBGXX_SUPPORT_DIRS)" TOOL=libg++
  1092.  
  1093. .NOEXPORT:
  1094. MAKEOVERRIDES=
  1095.  
  1096.  
  1097. # end of Makefile.in
  1098.